<div class="view">
	<div class="column1" style="width:100px;">
	    <span class="left" style="padding-top:20px;">
			<input type="checkbox" name="comment-item" value="<?php echo $data->com_id;?>" />
		</span>
	   	&nbsp;
	   	<?php echo Comment::model()->getCommentIco($data);?>		
	</div>
	<div class="column2" style="margin-left:100px;margin-top:0px;padding-top:0px;">
		<?php //UtilTools::dump($data->attributes);?>
		<div class="arc">
			<div class="arc-title" style="width:100%;height:20px;overflow:hidden;">
				<span class="left">
					<?php echo CHtml::encode(Comment::model()->getCommentTitle($data)); ?>
				</span>
				<div class="left" style="width:100px;">	
		            <span class="left ui-icon ui-icon-pencil" title="edit" id="<?php echo $this->createUrl('update',array('id'=>$data->com_id));?>"  onclick="actionUpdate($(this));"></span>
		            <span class="left ui-icon ui-icon-zoomin" title="view" id="<?php echo $this->createUrl('/news/view',array('id'=>$data->com_id));?>"  onclick="actionView($(this));"></span>
		            <span class="left ui-icon ui-icon-trash" title="delete" id="<?php echo $this->createUrl('ajaxTrash',array('id'=>$data->com_id));?>"  onclick="actionTrash($(this));"></span>
	       		</div>	
	       	</div>
	       	<div class="arc-content" style="width:100%;">
				<?php echo CHtml::encode(UtilTools::strSlice($data->com_contents,0,250)); ?>
				<hr class="space" />
				<?php if($data->com_rid):?>
					<div class="arc-note">
						此条还有<?php echo count($data->comment);?>条回复评论	
					</div>			
					
				<?php endif;?>	 	       	
	       	</div>
		</div>
	</div>
	<hr />
</div>